<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'booksections.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
	<h1>Book & Sections</h1>
	<bean:write name="loaded" property="authors"/>
	<nested:write name="loaded" property="title" />	
	<nested:iterate id="test" name="loaded" property="sections" >
	aa
	<nested:text name="test" property="identifierType"/>
	</nested:iterate>
	
	<nested:present property="loaded">
	Book Title: <nested:text property="title"/> <br />
	<h3>Authors:</h3>
	
	<nested:notEmpty property="authors">
	<nested:iterate property="authors">
	<nested:text property="authors"/>
	</nested:iterate>
	</nested:notEmpty>
	
	<h3>Sections:</h3>
	
	<nested:notEmpty property="sections">
	<nested:iterate property="sections">
	
	</nested:iterate>
	</nested:notEmpty>

	
	</nested:present>


  </body>
</html>
